package com.mla.fastdfs.commom;

/**
 * 基础异常
 *
 * @author Leon
 * 2017年2月24日 下午4:54:56
 */
public class BaseException extends RuntimeException {
    private static final long serialVersionUID = 1L;

    private Integer code;
    private String msg;

    public BaseException() {
    }

    public BaseException(String msg) {
        super(msg);
    }

    public BaseException(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
